package com.songlin.db;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import cn.bmob.v3.BmobObject;

/**
 * Created by moqikaka on 17/5/26.
 */

@Table(name = "state")
public class State{
    //状态码
    //服务器状态码比本地大,即需要更新数据
    //每一条插入的数据,都有状态码值
    public State() {}
    @Column(name = "state")
    private int state;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Column(name = "id", isId = true, autoGen = true, property = "NOT NULL")
    private int id;

    public State(int state) {
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

}
